package com.zwt.controller;

import com.alibaba.fastjson.JSONObject;
import com.zwt.annotation.NoAuthAnnotation;
import com.zwt.constant.UrlConstant;
import com.zwt.result.ResultBean;
import com.zwt.service.ApiService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by zwt on 2018/9/6.
 * 登录流程
 */
@RestController
@RequestMapping("/app/login")
public class LoginController {

    private static Logger logger = LoggerFactory.getLogger(SmsController.class);

    @Autowired
    private UrlConstant urlConstant;

    @Autowired
    private ApiService apiService;

    @NoAuthAnnotation
    @RequestMapping("fail")
    public ResultBean<JSONObject> fail(){
        ResultBean<JSONObject> result = new ResultBean<>();
        return result;
    }


}
